//
//  UIImageView+SLSDK.m
//  SLSDK
//
//  Created by SongLian on 16/8/7.
//  Copyright © 2016年 SongLian. All rights reserved.
//

#import "UIImageView+SLSDK.h"

@implementation UIImageView (SLSDK)

+ (UIImageView *)sl_imageViewWithFrame:(CGRect)frame
                                 image:(UIImage *)image {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
    imageView.frame = frame;
    return imageView;
}

+ (UIImageView *)sl_imageViewWithFrame:(CGRect)frame
                                 image:(UIImage *)image
                                radius:(CGFloat)radius {
    UIImageView *imageView = [self sl_imageViewWithFrame:frame image:image];
    [imageView sl_filletWithRadius:radius];
    return imageView;
}

@end
